home *** CD-ROM | disk | FTP | other *** search
/ SGI Hot Mix 17 / Hot Mix 17.iso / HM17_SGI / research / bin / idldemo < prev    next >
Encoding:
Text File  |  1997-07-08  |  633 b   |  20 lines

  1. #! /bin/sh
  2. # Defines the environment variables required to get an unlicensed IDL
  3. # residing in a non-standard location up and running the IDL demo. This
  4. # lets people give IDL a quick demo without having to get installation
  5. # and license management done first.
  6. #
  7.  
  8. IDL_DIR=/d2/hotmix/new_hot/i/idl_5
  9. IDL_PATH=+$IDL_DIR/lib:$IDL_DIR/examples/demo
  10. IDL_DEVICE=X
  11. export IDL_DIR IDL_PATH IDL_DEVICE
  12.  
  13. if [ ! -f $IDL_DIR/lib/hook/demo.sav ]; then
  14.    echo "    The IDL Demos have not been installed.  Please consult the
  15.     installation guide for instructions on installing the demos."
  16.    exit 0
  17. fi
  18.  
  19. $IDL_DIR/bin/idl -em=$IDL_DIR/lib/hook/demo.sav
  20.